package com.situ.mall.service;

import java.util.List;

import com.situ.mall.common.ServerResponse;
import com.situ.mall.entity.Category;

public interface ICategoryService {

	ServerResponse pageList(Integer page, Integer limit, Category user);

	ServerResponse deleteById(Integer id);

	ServerResponse deleteAll(String ids);

	ServerResponse selectTopCategory();

	ServerResponse selectSecondCategory(Integer topCategoryId);

	ServerResponse insert(Category category);

	ServerResponse insert2(Category category);

	Category toUpdate(Integer id);

	ServerResponse update(Category category);

	List<Category> selectTop();

	List<Category> selectsecond();

	ServerResponse selectCategoryCount();


}
